from docx import Document
document = Document('模板.docx')
word_content = ''
for p in document.paragraphs:
    word_content = word_content + p.runs[0].text + '\r'
print(word_content)